package cn.DesignModel.composit;

/**
 * @author: lizemin
 * @version: 1.0
 */
public class Waitress {
    private MenuComponent menuComponent;

    public Waitress(MenuComponent menuComponent) {
        this.menuComponent = menuComponent;
    }

    public void printMenu() {
        menuComponent.print();
    }


}
